package com.dwxt.community.dao;

import com.dwxt.community.aiequipment.sellmachine.entity.SellMachineGoods;
import com.dwxt.community.aiequipment.sellmachine.entity.SellMachineGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SellMachineGoodsMapper {
    int countByExample(SellMachineGoodsExample example);

    int deleteByExample(SellMachineGoodsExample example);

    int deleteByPrimaryKey(String goodsId);

    int insert(SellMachineGoods record);

    int insertSelective(SellMachineGoods record);

    List<SellMachineGoods> selectByExample(SellMachineGoodsExample example);

    SellMachineGoods selectByPrimaryKey(String goodsId);

    int updateByExampleSelective(@Param("record") SellMachineGoods record, @Param("example") SellMachineGoodsExample example);

    int updateByExample(@Param("record") SellMachineGoods record, @Param("example") SellMachineGoodsExample example);

    int updateByPrimaryKeySelective(SellMachineGoods record);

    int updateByPrimaryKey(SellMachineGoods record);

    List selectAll();

    List<SellMachineGoods> selectSellMachineGoodsByUseing();

    int selectGoodsCountByGoodsName(@Param("goodsName") String goodsName, @Param("goodsId") String goodsId);
}